package com.easonji.core.annotion;

import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @ClassName: CacheRemove
 * @Description: 批量删除缓存注解
 * @Author: LiuJun
 * @date: 2018/08/07 18:53
 * @Version: 1.0
 * @Copyright: Copyright (c) 2018 - 2019
 */
@Inherited
@Target({ ElementType.METHOD })
@Retention(RetentionPolicy.RUNTIME)
public @interface CacheRemove {

    /**
     * 缓存名
     */
    String value();

    /**
     * 缓存Key数组
     * 
     * @return
     */
    String[] key();
}
